<h1>Taxonomias</h1>

<? if (count($this->paginator)): ?>
<table class="fullwidth" border="0" cellpadding="0" cellspacing="0">
    <thead>
      <tr>
            <th >ID</th>
            <th >Titulo</th>
            <th ></th>
      </tr>
    </thead>

    <tbody>
        <? $i=0; foreach ($this->paginator as $taxonomy) :  ?>
              <tr class=<?php echo ($i%2==0?'"even"':'"odd"') ?>>
                    <td><?php echo $taxonomy['taxonomy_id']; ?></td>
                    <td><?php echo $taxonomy['title'] ?></td>
                    <td>
						<?php echo $this->href( "taxonomy", "update", "editar termino", array( "tid" => $taxonomy['taxonomy_id'], 'vid' => $this->vid ) ) ?>
                    </td>

              </tr>
        <? $i++; endforeach; ?>
    </tbody>
</table>
<?php echo $this->paginator ?>
<? endif; ?>
<p>
<?php echo $this->href( "taxonomy", "create", "Crear un nuevo termino", array( 'vid' => $this->vid)  ) ?>
</p>

